        <div class="table">
            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                <thead>
                    <tr>
                        <td class="column">STT</td>
                        <td class="column">Ngày</td>
                        <?php
                        $total = array();
                        foreach($this->exportTitle as $key=>$value){
                            echo '<td class="column">',$value,'</td>';
                            $total[$key] = 0;
                        }
                        ?>
                    </tr>
                </thead>
                <tbody>
                    <?php
                        $stt = 1;
                        for($this->dateEnd;$this->dateEnd>=$this->dateStart;$this->dateEnd = $this->time()->addDate($this->dateEnd,-1)){
                            echo '<tr class="row row-',$stt,'">
                                    <td class="column text-align-center">',$stt,'</td>
                                    <td class="column text-align-center">',$this->time()->dataToDate($this->dateEnd),'</td>
                                ';
                                foreach($this->exportData[$this->dateEnd] as $key=>$row){
                                    $money = (int)$row;
                                    $total[$key] += $money;
                                    echo '<td class="column text-align-right">',number_format($money,0,',','.'),'</td>';
                                }
                            echo '</tr>';
                            ++$stt;
                        }
                    ?>
                    <tr class="row row-total row-<?php echo $stt;?>">
                        <td class="text-align-center font-weight-bold" colspan="2">Tổng</td>
                        <?php
                            foreach($this->exportTitle as $key=>$title){
                                echo '<td class="text-align-right">',number_format($total[$key],0,',','.'),'</td>';
                            }
                        ?>
                    </tr>
                </tbody>
            </table>
        </div>